package com.zd.wechatPlatform.bean.model;

import java.util.Date;

import com.zd.wechatPlatform.common.annotation.Column;
/**
 * 微信基本参数
 * @author wangliming
 *
 * @date 2018年10月31日下午3:42:30
 */
public class WxAccount extends BaseModel {
    private String accountId; // 微信公众号accountId
    private String appId; // 微信公众号appid
    private String appSecret; // 微信公众号sercert
    private String accessToken; // access_token（用于调用微信接口，存储在缓存中）
    private String jsapiTicket; // jssdk签名票据
    private Integer isRefreshToken; //是否刷新accessToken （0-不刷新  1-刷新）
    private Integer id; // 主键//
    private Date createTime; // 创建时间
    private Date updateTime; // 修改时间
    
    @Column
    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }
    
    @Column
    public Integer getIsRefreshToken() {
		return isRefreshToken;
	}

	public void setIsRefreshToken(Integer isRefreshToken) {
		this.isRefreshToken = isRefreshToken;
	}

	@Column
    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    @Column
    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    @Column
    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    @Column
    public String getJsapiTicket() {
        return jsapiTicket;
    }

    public void setJsapiTicket(String jsapiTicket) {
        this.jsapiTicket = jsapiTicket;
    }

    @Column
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
